<?php
$_SERVER['config'] = array(
	'debug'		=> true,
	'database'	=> array(),
	'memcache'	=> array()
);

$_SERVER['config']['style'] = "";

include_once('db.conf.php');
include_once('memc.conf.php');
include_once('avatar.conf.php');
include_once('plugins.conf.php');
include_once('misc.php');
include_once('apps.php');
include_once('lang/zh-cn.php');

include_once('enable.php');

define('VCODE_RESOURCE_PATH', RESOURCE_PATH.'/');
define('VCODE_BACKGROUNDS', '200511_a_1600.jpg,200506_horde_1600.jpg,1000-needles-1600x.jpg');
define('VCODE_FONTS', 'ROCKB.TTF');
define('SNS_DOMAIN','i.manhuaguoji.com');
defined("CHAPTER_LIST_IDS") or define('CHAPTER_LIST_IDS','chapter_list');					//漫画章节的缓存key前缀
defined("PHOTO_LIST_IDS") or define('PHOTO_LIST_IDS','photo_list');							//漫画图片的缓存key前缀
defined("PHOTO_INFO") or define('PHOTO_INFO','photo_info');							//漫画图片的缓存key前缀
/**
 * 发邮件相关
 *
 */
define('EMAIL_TYPE','smtp');//如果设置为smtp，则需要设置下面三项,如果设置为mail，则不用设置
define('MAIL_HOST','smtp.163.com');//发送邮件的服务器地址
define('MAIL_USER','sanzhua_service@163.com');//邮件地址
define('MAIL_PWD','sanzhua_pwd_$&^');	//账号密码

$_SERVER['LOGIN_INTERVAL'] = 1800;

$_SERVER['config']['avatar'] = array(
    'path'  =>  CT_UPLOAD_PATH.'avatar/'
);

$_SERVER['const'] = array();
$_SERVER['const']['srank'] = array(
	array(
		0=>'任何人',
		1=>'仅好友',
		3=>'仅自己'
	),
	1
);

$_SERVER['const']['gender']=array(
	1=>'男',
	2=>'女'
);

$_SERVER['const']['bloodtype'] = array(
	1=>'A',
	2=>'B',
	3=>'O',
	4=>'AB'
);

$_SERVER['const']['marriage'] = array(
	1=>'单身',
	2=>'恋爱中',
	3=>'已婚'
);
